#include <LEDStrip.h>
#define SI 9
#define DI 3
#define CLKI 4
#define LI 5
LEDStrip ledstrip(DI,SI,LI,CLKI);
byte colorArray[15];
int mycolor;
void setup(){
  Serial.begin(115200);
  colorArray[0] = B10000000; //Black
  colorArray[1] = B10010101; //White
  colorArray[2] = B10000100; //Red
  colorArray[3] = B10010100; //Yellow
  colorArray[4] = B10010000; //Green
  colorArray[5] = B10010001; //Teal
  colorArray[6] = B10000001; //Blue
  colorArray[7] = B10000101; //Purple
  colorArray[8] =  B11001000; //Dark Red
  colorArray[9] =  B11101000; //Dark Yellow
  colorArray[10] = B11010000; //Dark Green
  colorArray[11] = B11100010; //Dark Teal
  colorArray[12] = B11000010; //Dark Blue
  colorArray[13] = B11001010; //Dark Purple
  colorArray[14] = B11101010; //Dark White
}
void loop(){ 
  mycolor = Serial.read();
  ledstrip.pushCmd(colorArray[mycolor]);
  ledstrip.latch();
} 
